Skip to content

Conversation

robluo
Copy link
Contributor

@robluo robluo commented Sep 29, 2025

Now able to draw analytical placement

Description

  1. Drawing analytical placement logical location before and after the solving and legalization.
  2. No net connection or clickable elements.
  3. Can transition to other graphic displays after finishing analytical placement.

Motivation and Context

To give more insight to AP flow

How Has This Been Tested?

By hand

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Sep 29, 2025
@robluo robluo closed this Sep 30, 2025
@robluo robluo reopened this Sep 30, 2025
Copy link
Contributor

@AlexandreSinger AlexandreSinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am excited to get this in! I have added some comments regarding organization. I want to keep AP as clean as possible, without having confusing drawing code in the loop if we can.

Copy link
Contributor

@AlexandreSinger AlexandreSinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! I really like the new class!

Some minor comments and then I think this is ready to merge. I am excited to use this!

Copy link
Contributor

@AlexandreSinger AlexandreSinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robluo Can you please resolve the conflicts and then I think this is good to merge.

This will not break place and route drawing and it creates a initial world
of different dimension than place and route drawing
No more segfault when clicking.
Added after solve and after legalization draw.
skip set_initial_world when no display
now in ap, there are no NOGRAPHCIS macro
moved print message inside of update_graphics
@AlexandreSinger AlexandreSinger merged commit 6a9ea2d into verilog-to-routing:master Oct 16, 2025
30 checks passed
@AlexandreSinger
Copy link
Contributor

@robluo Your PR broke CI. This can happen when there is a merge conflict post-the-fact. When you rebased your branch, you may have rebased onto an older version of VTR! That can cause some funny stuff like that to occur.

I had to revert your PR to keep master working. You will need to re-raise this code in another PR. Sorry for the pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants